package com.example.demo.model.vo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by 86151 on 2018/12/21.
 */
@Data
public class MaterialUpdateVo {
    @NotNull(message = "修改时Id不能为空！")
    private Integer id;
    @NotBlank(message = "修改时备件小类名称不能为空！")
    private String materialName;
    @NotNull(message = "修改时状态信息不能为空！")
    private Boolean status;
    @NotBlank(message = "修改时备件小类描述不能为空！")
    private String materialDesc;
}
